﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="account_Login" %>

<%@ Register Src="../UserControls/CFooterControl.ascx" TagName="CFooterControl" TagPrefix="uc2" %>

<%@ Register Src="../UserControls/CHeaderControl.ascx" TagName="CHeaderControl" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<script language="javascript" type="text/javascript">

    function enter() {
        if (event.keyCode == 13)
            btnclick();

    }
    function btnclick() {
        //alert("ok!");
        document.getElementById("commit").click();   //服务器控件loginsubmit点击事件被触发
        return false;
    }
  </script>  
    


	</head>

<body class="newbie">
    <form id="form1" runat="server" class="validator" defaultbutton="commit">
      <div id="pagemasker"></div><div id="dialog"></div>
<div id="doc">

     <uc1:CHeaderControl ID="CHeaderControl1" runat="server" />


<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="login">
    <div id="content" class="login-box">
        <div class="box">
            
            <div class="box-content">
                <div class="head"><h2>登录</h2><span>&nbsp;或者 <a href="signup.aspx">注册</a></span></div>
                <div class="sect">
                    
                        <div class="field email">
                            <label for="login-email-address">Email／用户名</label>
                           <input type="text" size="30" name="username" id="login-email-address" class="f-input" value=""  />
                        </div>
                        <div class="field password">
                            <label for="login-password">密码</label>
                            <input type="password" size="30" name="password" id="password" onkeydown="enter()" class="f-input"  />
                            <span class="lostpassword"><a href="repass.aspx">忘记密码？</a></span> 
                        </div>
                        <div class="field autologin">
                            <input type="checkbox" value="1" name="auto-login" id="autologin" class="f-check" checked />
                            <label for="autologin">下次自动登录</label>
                        </div>
                        <div class="act">
                            <asp:Button ID="commit" runat="server" Text="登录" class="formbutton" />
                       </div>
                </div>
            </div>
            
        </div>
    </div>
    <div id="sidebar">
        <div class="sbox">
            
            <div class="sbox-content">
                <div class="side-tip">
                    <h2>还没有<%=ASSystemArr["abbreviation"]%>账户？</h2>
                    <p>立即<a href="signup.aspx">注册</a>，仅需30秒！</p>
                </div>
            </div>
        
        </div>
    </div>
</div>
    </div> <!-- bd end -->
</div> <!-- bdw end -->
 <uc2:CFooterControl ID="CFooterControl1" runat="server" />

</div>
   </form>
</body>
</html>
